<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
</head>
<body>
    <img src="01.png" alt="">
    <img src="02.png" alt="">
    <img src="03.png" alt="">
    <img src="04.png" alt="">
    <script>
        var items=$("img")
        console.log(items)
        // var arr=[1,2,3]
        // [4,8,12]
        // var newArr=arr.map(item=>item*4)
        // console.log(newArr)
        var arr=[...items]
        var urls=arr.map(i=>{
            return $(i).attr("src")
        })
        console.log(urls)
    </script>
</body>
</html>